package cn.edu.scau.cmi.xuandingcong.adapter;

public class sortInt {
		public int[] SortInt(int[] a ) {
			
			for(int i=0; i<a.length; i++) {
				for(int j=i; j<a.length; j++) {
					int tmp=0; 
					if(a[i] >= a[j]) {
						tmp = a[i];
						a[i] = a[j];
						a[j] = tmp;
					}
				}
			}
			
			
			
			return a;
			
		}
}
